<%@ Control Language="C#" AutoEventWireup="true" Codebehind="Topmenu.ascx.cs" Inherits="NCS.Module.CMS.Web.SubPortal.Topmenu" %>
<table id="top_mn" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <th scope="col" width="15">
            <img height="48" src="/images/SubPortal/top_mn_l.gif" width="15" /></th>
        <th background="/images/SubPortal/top_mn_bg.jpg" scope="col">
            <%
                if (this.dt != null && this.dt.Rows.Count > 0)
                {
            %>
            <table border="0" cellpadding="0" cellspacing="0" id="top_menu">
                <tr>
                    <%
                        for (int i = 0; i < this.dt.Rows.Count; i++)
                        {
                    %>
                    <th width="1" scope="col">
                    </th>
                    <th class="text1" scope="col">
                        <a href="<% = BuildUrlByZoneSubPortal(NCS.Library.Utilities.ConvertUtility.ToInt32(this.dt.Rows[i]["Zone_ID"].ToString()), NCS.Library.Utilities.ConvertUtility.ToInt32(this.dt.Rows[i]["Portal_TabControlID"].ToString())) %>"
                            class="text1">
                            <% = this.dt.Rows[i]["Zone_Name"].ToString()%>
                        </a>
                    </th>
                    <th width="22" scope="col">
                    </th>
                    <%
                        }
                    %>
                    <th scope="col">
                        &nbsp;</th>
                </tr>
            </table>
            <%
                }
            %>
        </th>
        <th scope="col" width="15">
            <img height="48" src="/images/SubPortal/top_mn_r.jpg" width="15" /></th>
    </tr>
</table>
